package com.zmn.oms.common.constant;

/**
 * 类描述：派单超时常量
 *
 * @author ligang
 * @date 2020/6/8 14:31
 */
public class DistributeTimeoutConsts {

    /**
     * 操作类型-系统
     */
    public final static int OPERATE_TYPE_SYSTEM = 1;

    /**
     * 操作类型-短信
     */
    public final static int OPERATE_TYPE_MSG = 2;

    /**
     * 操作类型-电话机器
     */
    public final static int OPERATE_TYPE_CALL = 3;

    public static String getOperateTypeName(int type) {
        switch (type) {
            case OPERATE_TYPE_SYSTEM:
                return "系统";
            case OPERATE_TYPE_MSG:
                return "短信";
            case OPERATE_TYPE_CALL:
                return "电话机器人";
            default:
                return "未知类型";
        }
    }

}
